//
//  CalendarLogic.h
//  TestCalander
//
//  Created by yull on 14/12/1.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CalendarLogic : NSObject

//每个月多少天
+ (NSInteger)getDayCountInYear:(NSInteger)year month:(NSInteger)month;

//一个月有几周
+ (NSInteger)getWeekCountInYear:(NSInteger)year month:(NSInteger)month;

//第一天是星期几
+ (NSInteger)getFirstWeekInYear:(NSInteger)year month:(NSInteger)month;
@end
